package com.dime.feign;

import com.dime.interceptor.MNFeignRequestInterceptor;
import com.ruoyi.common.security.feign.FeignRequestInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MNFeignConfig {
    @Bean
    public MNFeignRequestInterceptor requestInterceptor()
    {
        return new MNFeignRequestInterceptor();
    }
}
